<style>
.content-group {background:#fff;border-radius: 0.5rem;margin-bottom:0.39rem}
</style>
<div ng-include="sys_html('common/_header','','','jy_weishop')"></div>
<div ng-if="pagedata.account" class="fui-page fui-page-current page-goods-list">
<div class='fui-content' style="top:0">
		<div class="fui-cell-group fui-cell-click" style="margin-top: 0;">
			<div class="fui-searchbar bar" style="background:none;z-index: 0;">
					<div ng-class="{'searchbar':1,'searchbar-active':pagedata.searchbar ==1}" style="background:none">
							<div style="position: relative;left:0;top:0;">
								<div class="search-input" style="">
									<i id="searchsub" class="icon icon-sousuo1"  ng-click="tool.get_list('jy_merch/game/getlist/',true)"></i>
									<input type="search" placeholder="搜索活动" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.6rem;background:#f9f9f9;border-radius: 1rem;" />
								</div>
							</div>
					</div>
			</div>		
		</div>
		<div class="fui-tab fui-tab-danger" style="top:0">
				<!--<a ng-class="{'external active':pagedata.params.type == 'jy_bigwheel'}" ng-click="pagedata.params.type='jy_bigwheel';tool.get_list('jy_merch/game/getlist/',true)">抽奖活动</a>-->
				<a ng-class="{'external active':pagedata.params.type == 'jy_bargain'}" ng-click="pagedata.params.type='jy_bargain';tool.get_list('jy_merch/game/getlist/',true)">砍价活动</a>
				<a ng-class="{'external active':pagedata.params.type == 'jy_pingdd_pin'}" ng-click="pagedata.params.type='jy_pingdd_pin';tool.get_list('jy_merch/game/getlist/',true)">拼团活动</a>
		</div>
		<div ng-include="sys_html('common/_game')"></div>
		<div ng-show="loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
		<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
</div>
<div ng-include="sys_html('common/_share','','','jy_weishop')"></div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<div ng-include="sys_html('common/_gotop',true)"></div>
<script>
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>
<script>
scope.tool.get_list('jy_merch/game/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_merch/game/getlist/');
}
</script>